<legend class='hyc-legend'>
    <span>banner编辑</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">{{bannerObj.info.title || '新增banner'}}</div>
    <div class="panel-body admin">
        <div class="row">
            <div class="col-md-offset-2 col-md-6">
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">标题：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="bannerObj.info.title" placeholder="请输入标题">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">图标：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="bannerObj.info.icon" placeholder="请输入图标">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">排序：</div>
                    <div class="col-md-8">
                        <input class="input" type="number" ng-model="bannerObj.info.sort" placeholder="请输入排序">
                    </div>
                </div>
                <div class="row margin-bottom-10"></div>
                <div class="row margin-bottom-10">
                    <div class="col-md-offset-4 col-md-8 text-center">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="btn btn btn-default btn-block" onclick="javascript: history.go(-1);">返回</div>
                            </div>
                            <div class="col-md-6">
                                <div class="btn btn btn-warning btn-block" ng-click="bannerObj.save()">保存</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>